home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-07 | 847 b | 50 lines | [TEXT/DWat] |
- datafile Pollen Data
- datalines 1 523
- readcolumn x 1
- readcolumn y 2
- rpn <y 1E-6 / >y % change to micronepers
- graphlimits
- pointsymbol 4 cross
- sort
- fullscreen yes
- plotpoints
- drawframe
-
- calc_correlation_coeff
- rpn <y >r0 % Save the y date in register 0
-
- rpn 43 >e
- fitxy 1
- rpn <x a1 * a0 + >y
- pensize 1.5
- plotline
- pensize 0.25
-
- TL
- digits 3
- fontsize 14
- drawlabel centerright Count = \a1 ±\asig1 \s¥ Distance + \a0 ±\asig0
- TL
- pagemoveto xp yp 0.5 -
- drawlabel centerright Correlation Coeff: \r_cc
-
- drawxlabel Distance (m)
- drawylabel Pollen Count
-
- graphframe gleft gright gtop .25 + gtop 2 +
- showgraph
- drawaxis left inside outside line ticks perpendicular
- drawaxis right inside outside line ticks nolabels
-
- rpn <y <r0 - >y rms
- set rms v0(1)
-
- graphlimits
- drawylabel Fit RMS
- plotpoints
-
- addheader
- figurenumber 3d Smith \\iet al.
-
- fullscreen yes
- showpage